package com.lovo.dao;

import com.lovo.bean.CommomentBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bdk
 * @since 2021-03-11
 */
public interface ICommomentDAO extends BaseMapper<CommomentBean> {
    List selectAllCommoment();
    List selectByCommomentIdAdnUserId(Long commomentId,Long userId);
    void insertUserLike(Long commomentId,Long userId);
    void deleteUserLike(Long commomentId,Long userId);
}
